package com.atguigu.auth.activiti;

import org.springframework.stereotype.Component;

/**
 * @version 1.0
 * @autor 雷记新
 */
@Component
public class UserBean {

    public String getUsername(int id){
        if (id == 1){
            return "lilei";
        }
        if (id == 2){
            return "hanmeimie";
        }
        return "admin";
    }
}
